package com.upcode.weighing.vo.req;

import com.upcode.weighing.base.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * <p>
 * 检测点信息
 * </p>
 *
 * @author alex
 * @since 2024-07-21
 */
@ApiModel(value="", description="检测点添加对象")
public class DetectPointAddVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 检测点名称
     */
    @ApiModelProperty("检测点名称")
    private String name;

    /**
     * 检测点编号
     */
    @ApiModelProperty("检测点编号")
    private String pointNo;

    /**
     * 当前状态(0离线1在线)
     */
    @ApiModelProperty("当前状态(0离线1在线)")
    private Integer status=0;


    /**
     * 检测设备类型(1便携式2车载)
     */
    @ApiModelProperty("检测设备类型(1便携式2车载)")
    private Integer deviceType;

    /**
     * 当前使用位置
     */
    @ApiModelProperty("使用位置")
    private String location;

    /**
     * 检测点名称
     */
    @ApiModelProperty("检测点纬度")
    private BigDecimal lat;

    /**
     * 检测点编号
     */
    @ApiModelProperty("检测点经度")
    private BigDecimal lng;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getPointNo() {
        return pointNo;
    }

    public void setPointNo(String pointNo) {
        this.pointNo = pointNo;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getDeviceType() {
        return deviceType;
    }
    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }
    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }

    public BigDecimal getLng() {
        return lng;
    }

    public void setLng(BigDecimal lng) {
        this.lng = lng;
    }
    @Override
    public String toString() {
        return "DetectPointAddVo{" +
                "name='" + name + '\'' +
                ", pointNo='" + pointNo + '\'' +
                ", status=" + status +
                ", deviceType=" + deviceType +
                ", location='" + location + '\'' +
                '}';
    }
}
